<?php

    class CustomerUtil
    {

        public static function getCustomersList()
        {
            $customers = Customers::model()->findAll();
            $data = array(
                NULL => 'N/A'
            );
            foreach ($customers as $customer)
            {
                $data[$customer->custno] = "$customer->firstname $customer->lastname";
            }
            return $data;
        }

    }

?>
